package com.qczl.pme.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 指纹机
 * @author SongR
 *
 */
@Entity
@Table(name="pme_basis_finger")
public class PMEFinger implements Serializable{
	private static final long serialVersionUID = 8885166844291480779L;
	private Long id;//编号
	private String name;//名称
	private String ip;//ip
	private String port;//端口
	private String desc;//描述
	private Integer state;//状态（-1、已删除 0、可用 1、不可用）
	private String stbno;

	public String getStbno() {
		return stbno;
	}

	public void setStbno(String stbno) {
		this.stbno = stbno;
	}

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "finger_id")
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	@Column(name = "finger_name")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	@Column(name = "finger_ip")
	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}
	@Column(name = "finger_port")
	public String getPort() {
		return port;
	}

	public void setPort(String port) {
		this.port = port;
	}
	@Column(name = "finger_desc")
	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}
	@Column(name = "finger_state")
	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}
}
